package com.zhao.dota.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class League implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     * 名称
     */
    private String name;

    private String code;
    /**
     * 类型
     */
    private String type;

    private LocalDateTime startTime;

    private LocalDateTime endTime;
    /**
     * 初始金币，-1表示不需要金币
     */
    private Integer initialGold;
    /**
     * 英雄初始价格，-1表示不需要金币
     */
    private Integer heroPrice;

    private Integer createUserId;

    private Boolean end;

}
